import CONSTANT from '@/common/constants.js';
import http from '@/common/http.js';

export default {
  name: 'agreement',
  components: {},
  data () {
    return {
      siteId: '',
      applyNotice: '支付说明：支付成功以后，上课之前如需退费，仅支持原路退至您的（支付宝、微信）支付账户。请不要找他人代刷支付学费，若钱款损失，责任自负。开课三次以后不再办理退费。 谢谢合作！'
    }
  },
  mounted () {
    var _this = this
    _this.siteId = window.sessionStorage.getItem('siteId')
    http.get(CONSTANT.SETTING + '?siteId=' + _this.siteId, {}, (res) => {
      console.log(res)
      //_this.applyNotice = res.applyNotice
    })
  },
  methods: {
    comeBack () {
      window.history.go(-1)
    }
  }
}
